package com.example.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.entity.Permission;
import com.example.entity.Role;

import java.util.List;

public interface PermissionService extends IService< Permission> {
    List<Permission> getByRoles(List<Role> roles);
    List<Permission> getByRoleList(List<Long> roleIdList);
    void delete(Long id);
}